package com.zr.spring.replaced;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Solution {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:replaced-method\\replaced-method.xml");
        TestChangeMethod method = (TestChangeMethod) context.getBean("testChangeMethod");
        method.changeMe();
    }
}
